<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html lang="zh">
 <head>
  <meta content="width=device-width, initial-scale=1.0" name="viewport"/>
  <meta content="2018-10-23T06:18:10.521000000" name="created"/>
  <meta content="2023-12-12T09:31:24" name="changed" translator="gocpicnic"/>
  <meta content="text/html; charset=utf-8" http-equiv="content-type"/>
  <meta content="zh" http-equiv="Content-Language"/>
  <title>
   <!-- Constant -->
   常量
  </title>
  <link href="../../style.css" rel="stylesheet" type="text/css"/>
 </head>
 <body>
  <div class="maindiv">
   <h1>
    <!-- <img class="iconlibs" src="../../../../icons/6464/constant.png" alt="#########" width="32" height="32"> <em> Constant</em> -->
    <img alt="#########" class="iconlibs" height="32" src="../../../../icons/6464/constant.png" width="32"/>
    <em>
     常量
    </em>
   </h1>
   <table>
    <tbody>
     <tr>
      <td>
       <!-- <strong>Library:</strong> -->
       <strong>
        库:
       </strong>
      </td>
      <td>
       <!-- <a href="index.html">Wiring</a> -->
       <a href="index.html">
        线路
       </a>
      </td>
     </tr>
     <tr>
      <td>
       <!-- <strong>Introduced:</strong> -->
       <strong>
        介绍:
       </strong>
      </td>
      <td>
       2.0 Beta 1 (in Gates library, moved to Wiring in 2.7.0)
      </td>
     </tr>
     <tr>
      <td valign="top">
       <!-- <strong>Appearance:</strong> -->
       <strong>
        外观符号:
       </strong>
      </td>
      <td valign="top">
       <img alt="#########" class="appearancelibs" height="64" src="../../../../img-libs/constant0.png" width="64"/>
       <img alt="#########" class="appearancelibs" height="64" src="../../../../img-libs/constant1.png" width="64"/>
      </td>
     </tr>
    </tbody>
   </table>
   <h2>
    <!-- Behavior -->
    行为
   </h2>
   <p>
    <!-- Emits the value specified in its Value attribute. -->
    发出其 Value 属性中指定的值。
   </p>
   <h2>
    <!-- Pins -->
    引脚
   </h2>
   <p>
    <!-- There is only one pin, an output whose bit width matches the Data Bits attribute. The location of this pin is specified in the Facing attribute. The component constantly outputs on this pin whatever value specified in the Value attribute. -->
    只有一个引脚，即位宽与数据位属性匹配的输出。 该引脚的位置在 方向 属性中指定。 该元件不断地在此引脚上输出 Value 属性中指定的任何值。
   </p>
   <h2>
    <!-- Attributes -->
    属性
   </h2>
   <p>
    <!-- When the component is selected or being added, the hexademical digits <b class="tkeybd">0</b> through <b class="tkeybd">9</b> and <b class="tkeybd">a</b> through <b class="tkeybd">f</b> alter its <b class="propertie">Value</b> attribute. <b class="tkeybd">Alt-0</b> through <b class="tkeybd">Alt-9</b> alter its <b class="propertie">Data Bits</b> attribute and the arrow keys alter its <b class="propertie">Facing</b> attribute. -->
    选择或添加元件时，十六进制数字
    <b class="tkeybd">
     0
    </b>
    到
    <b class="tkeybd">
     9
    </b>
    和
    <b class="tkeybd">
     a&lt; /b&gt; 通过
     <b class="tkeybd">
      f
     </b>
     更改其
     <b class="propertie">
      Value
     </b>
     属性。
     <b class="tkeybd">
      Alt-0
     </b>
     到
     <b class="tkeybd">
      Alt-9
     </b>
     更改其
     <b class="propertie">
      数据位
     </b>
     属性和 箭头键更改其
     <b class="propertie">
      方向
     </b>
     属性。
    </b>
   </p>
   <div class="attliste">
    <dl>
     <dt>
      <!-- <b class="propertie">Facing</b> -->
      <b class="propertie">
       方向
      </b>
     </dt>
     <dd>
      <!-- The direction in which the pin is located relative to where the value is drawn. -->
      引脚相对于绘制值的位置的方向。
     </dd>
     <dt>
      <!-- <b class="propertie">Data Bits</b> -->
      <b class="propertie">
       数据位
      </b>
     </dt>
     <dd>
      <!-- The bit width of the value placed onto the wire. -->
      放置到线路上的值的位宽度。
     </dd>
     <dt>
      <!-- <b class="propertie">Value</b> -->
      <b class="propertie">
       值
      </b>
     </dt>
     <dd>
      <!-- The value, written in hexademical, that is emitted by the component. The number of bits used to specify the value cannot exceed the component's bit width. -->
      由元件发出的以十六进制编写的值。 用于指定值的位数不能超过组件的位宽度。
     </dd>
    </dl>
   </div>
   <h2>
    <!-- Poke Tool Behavior -->
    Poke 工具行为
   </h2>
   <p>
    <!-- None. -->
    无
   </p>
   <h2>
    <!-- Text Tool Behavior -->
    文本工具行为
   </h2>
   <p>
    <!-- None. -->
    无
   </p>
   <p>
    <!-- <b>Back to</b> <a href="../index.html">Library Reference</a> -->
    <b>
     返回
    </b>
    <a href="../index.html">
     电路元件库参考手册
    </a>
   </p>
  </div>
 </body>
</html>
